#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int arr[9] = { 1,2,3,4,5,1,2,3,4 };
	int i = 9;
	for (i = 0; i < 5; i++)
	{
		int flag = 1;
		for (int j = 5; j < 9; j++)
		{
			if ( arr[i] == arr[j])
			{
				flag = 0;
				break;
			}
		}
		if (flag == 1)
		{
			printf("%d ", arr[i]);
		}



	}



	return 0;
}